<%-- 
    Document   : V_ListadoRequerimientos
    Created on : 05-nov-2013, 23:37:05
    Author     : JoseHernanQC
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        
        <script src="../media/js/jquery.js" type="text/javascript"></script>
        <script src="../media/js/jquery.dataTables.js" type="text/javascript"></script>
        

        <style type="text/css">
            @import "../media/css/demo_table_jui.css";
            @import "../media/themes/smoothness/jquery-ui-1.8.4.custom.css";
            @import "../css/menu_blanco.css";

        </style>
        <script>
             $(document).ready(function(){
                $('#datatables').dataTable({
                    "sPaginationType":"full_numbers",
                    "aaSorting":[[0, "asc"]],
                    "bJQueryUI":true,
                    "oLanguage": {
                        "sLengthMenu": "Mostrar _MENU_ Registros",
                        "sZeroRecords": "No se encontraron registros",
                        "sInfo": "Mostrando _START_ de _TOTAL_ registros",
                        "sInfoEmpty": "Showing 0 to 0 of 0 records",
                        "sInfoFiltered": "(Filtrado de _MAX_ registros totales)",
                        "sSearch": "Buscar:",
                        "oPaginate": {
                            "sFirst": "Primero", "sLast": "Último",  "sNext": "Siguiente", "sPrevious": "Anterior"
                        }
                    }
                });
            })
        </script>
        <script LANGUAGE="JavaScript">
            function confirmSubmit()
            {
                var agree = confirm("¿Desea realmente ELIMINAR este registro?");
                if (agree)
                    return true;
                else
                    return false;
            }
            // -->
        </script>
    </head>

    <body>
        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="../index.jsp">UPAO COMMONS</a>
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li class="active"><a href="index.jsp">Inicio</a></li>
                        <li><a href="JSP/DashBoard.jsp">Nosotros</a></li>
                        <li><a href="#contact">Contacto</a></li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Servicios <b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Action</a></li>
                                <li><a href="#">Another action</a></li>
                                <li><a href="#">Something else here</a></li>
                                <li class="divider"></li>
                                <li class="dropdown-header">Nav header</li>
                                <li><a href="#">Separated link</a></li>
                                <li><a href="#">One more separated link</a></li>
                            </ul>
                        </li>
                    </ul>
                    <form class="navbar-form navbar-right">
                        <div class="form-group">
                            <input type="text" name="usuario" placeholder="Correo" class="form-control"/>
                        </div>
                        <div class="form-group">
                            <input type="password" name="password" placeholder="Contraseña" class="form-control"/>
                        </div>
                        <button type="submit" class="btn btn-success">Ingresar</button>
                    </form>
                </div><!--/.navbar-collapse -->
            </div>
        </div>
      
        <div align="center" style="max-width: 1000px; margin: auto" >
            <br/>
            <br/>
            <br/>
            <br/>
            <br/>
            <br/>
            

            <div>
                <div>
                    <table id="datatables" class="display" style="font-size: 12px; ">
                        <thead>
                            <tr>
                                <th>Nº</th>
                                <th>Nombre</th>
                                <th>Descripción</th>
                                <th>Opciones</th>                        
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td width="5%"></td>
                                <td width="35%"></td>
                                <td width="55%"></td>                                
                                <td width="5%" align="center">
                                    <a href="V_Rol_U.php?idRol=<?php echo ($lista[$i]['id_rol'].'&idPag='.$pagina);?>" title="Modificar"><img src="../images/icons/edit.png" /></a>
                                    <a href="../../Controller/C_Rol_D.php?idRol=<?php echo ($lista[$i]['id_rol'].'&idPag='.$pagina);?>" onClick="return confirmSubmit()" title="Eliminar"><img src="../images/icons/cross.png" alt="Delete"></a>
                                </td>
                            </tr>

                        </tbody>
                    </table>
                </div>
            </div>
            
            
        </div> 
        <!-- Main jumbotron for a primary marketing message or call to action -->
        <!-- Bootstrap core JavaScript
        ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
        
    </body>
</html>
